package com.super8.super8newtv.app;

import android.app.Application;

import com.facebook.drawee.backends.pipeline.Fresco;
import com.lzy.okgo.OkGo;
import com.super8.super8newtv.utils.AppSettings;
import com.super8.super8newtv.utils.CacheUtil;

/**
 * Time: 2020/1/2
 * Author: ggq
 * Description:
 */
public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        OkGo.getInstance().init(this);
        //fresco初始化
        Fresco.initialize(this);
        //App数据存储初始化
        AppSettings.init(this);
        CacheUtil.clearTokenCache(this);//清除token
    }
}
